package com.gluck.cases.core.block;

import com.github.pagehelper.PageInfo;
import com.gluck.cases.core.modal.dto.CasesGroupDTO;
import com.gluck.cases.core.modal.dto.CasesTestsDTO;

import java.util.List;

/**
 * @ClassName CasesTestsBlock
 * @Desc CasesTestsBlock
 * @Author shiyongzhe
 * @Date 2022/6/3 - 2:09 下午
 **/
public interface CasesTestsBlock {

    PageInfo<CasesTestsDTO> queryCasesTests(Long gid, Integer startPage, Integer endPage);

    boolean addCasesTest(CasesTestsDTO dto);

    boolean deleteCasesTestById(Long id);

    boolean deleteCasesTestByGid(Long gid);

    boolean updateCasesTest(CasesTestsDTO dto);
}
